﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace FastExecutor.Base.Design
{
    public interface IFastBaseDB<T> : IFastBase
    {
        List<T> FindPage(string Columns, string Where, string OrderBy, int PageIndex, int PageSize);
        int Count(string SQLWhereText = "");
        T FindOne(string KeyGuid);
        void Insert(T Entity);
        void Update(T Entity);
        void BatchUpdate(List<T> EntityList);
        void Delete(string KeyGuid);
        void BatchDelete(List<string> KeyGuidList);

    }
}
